package user

import (
	"gitee.com/xuaxu/go-gin/models/article_new"
)

type Auth struct {
	ApaasId int64
}

type User struct {
	Uid int64
}

func Login(ApaasId int64) (bool, error, int64) {
	return article_new.ExistTagByName(ApaasId)
}

func Getuser(ApaasId string) (int64, bool, error) {
	return article_new.GetUser(ApaasId)
}
